package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 学生
 * </p>
 *
 * @author quin.song
 * @since 2023-01-05
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(of={"taskId","baseStudentId"})
@ApiModel(value = "Student对象", description = "学生")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "student_id", type = IdType.AUTO)
    private Long studentId;

    private Integer taskId;

    private String baseStudentId;

    private String studentName;

    @ApiModelProperty("学生头像")
    private String imageUrl;

    private String classId;

    private String className;

    private String majorId;

    private String majorName;

    private String collegeId;

    private String collegeName;

    @ApiModelProperty("所属校区")
    private String campusId;

    private String campusName;

    @ApiModelProperty("男 女 保密")
    private String sexCode;

    private String gradeId;

    @ApiModelProperty("所属年级")
    private String gradeName;

    @ApiModelProperty("选课范围 1本专业年级  2本专业跨年级 3本院系跨年级 4全部专业年级")
    private Integer selectionScope;

    @ApiModelProperty("主修学分上限")
    private Double creditLimitMain;

    @ApiModelProperty("主修课程数上限")
    private Integer courseLimitMain;

    @ApiModelProperty("辅修学分上限")
    private Double creditLimitMinor;

    @ApiModelProperty("辅修课程数上限")
    private Integer courseLimitMinor;

    @ApiModelProperty("1待设置 2已设置")
    private Integer stateLimit;

    @ApiModelProperty("1仅主修 2存在辅修")
    private Integer onlyMajor;

    @TableField(exist = false)
    @ApiModelProperty("null不存在教学计划 1主修 2 辅修 3主修和辅修")
    private Integer studyNature;

}
